package cn.mazexal.examapi.models.db;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;

/**
 * 
 *
 */
@Data
@TableName(value = "fin_order_pay")
public class FinOrderPayDO implements Serializable {

	/**
	 * 支付流水号
	 */
	@TableId(value = "id")
	private Long id;

	/**
	 * 关联订单
	 */
	@TableField(value = "order_id")
	private Long orderId;

	/**
	 * 支付类型
	 */
	@TableField(value = "pay_type")
	private Integer payType;

	/**
	 * 支付方式
	 */
	@TableField(value = "pay_way")
	private Integer payWay;

	/**
	 * 
	 */
	@TableField(value = "pay_status")
	private Integer payStatus;

	/**
	 * 
	 */
	@TableField(value = "pay_amount")
	private BigDecimal payAmount;

	/**
	 * 
	 */
	@TableField(value = "pay_create_time")
	private Long payCreateTime;

	/**
	 * 异步通知时间
	 */
	@TableField(value = "pay_notify_time")
	private Long payNotifyTime;

	/**
	 * 
	 */
	@TableField(value = "pay_buyer_id")
	private String payBuyerId;

	/**
	 * 
	 */
	@TableField(value = "pay_buyer_account")
	private String payBuyerAccount;

	/**
	 * 
	 */
	@TableField(value = "pay_seller_id")
	private String paySellerId;

	/**
	 * 
	 */
	@TableField(value = "pay_seller_account")
	private String paySellerAccount;

	/**
	 * 第三方交易单号
	 */
	@TableField(value = "trade_id")
	private String tradeId;

	/**
	 * 支付主题
	 */
	@TableField(value = "pay_subject")
	private String paySubject;

	/**
	 * 支付内容
	 */
	@TableField(value = "pay_body")
	private String payBody;

}